package com.yitiao.designmodel.behave.state;

/**
 * 环境类
 */
public class Context {

    private State state;

    public void setState(State state) {
        this.state = state;
    }

    public void request() {
        state.handle();
    }
}
